export default [
  {
    path: '/admin',
    component: () => import('@/views/admin/AdminLayout.vue'),
    children: [
      {
        path: 'announcement',
        component: () => import('@/views/AnnouncementPage.vue')
      },
      {
        path: 'category',
        component: () => import('@/views/CategoryPage.vue')
      },
      {
        path: 'maintenance',
        component: () => import('@/views/admin/maintenance/MaintenancePage.vue')
      },
      {
        path: 'device',
        component: () => import('@/views/admin/equipment/EquipmentPage.vue')
      },
      {
        path: 'inventory',
        component: () => import('@/views/admin/inventory/InventoryPage.vue')
      },
      {
        path: 'purchase',
        component: () => import('@/views/admin/purchase/PurchasePage.vue')
      },
      {
        path: 'user',
        component: () => import('@/views/UserPage.vue')
      }
      , {
        path: 'statistics',
        component: () => import('@/views/admin/statistics/StatisticsPage.vue')
      }
    ]
  }
]